/**
 * Copyright &copy; 2016 CNJSON All rights reserved.
 */
package com.hongsuan.pplive.modules.live.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cnjson.db.service.CrudService;
import com.cnjson.db.persistence.Page;
import com.hongsuan.pplive.modules.live.dao.LiveReplayDao;
import com.hongsuan.pplive.modules.live.entity.LiveReplay;

/**
 * 单表生成Service
 * @author cgli
 * @version 2016-04-18
 */
@Service
@Transactional(readOnly = true)
public class LiveReplayService extends CrudService<LiveReplayDao, LiveReplay> {

	public LiveReplay get(String id) {
		return super.get(id);
	}

	public List<LiveReplay> findList(LiveReplay liveReplay) {
		return super.findList(liveReplay);
	}

	public Page<LiveReplay> findPage(Page<LiveReplay> page, LiveReplay liveReplay) {
		return super.findPage(page, liveReplay);
	}

	@Transactional(readOnly = false)
	public void save(LiveReplay liveReplay) {
		super.save(liveReplay);
	}

	@Transactional(readOnly = false)
	public void delete(LiveReplay liveReplay) {
		super.delete(liveReplay);
	}

}